home *** CD-ROM | disk | FTP | other *** search
- Path: news.production.compuserve.com!news
- From: Don Dischner <76012.2511@CompuServe.COM>
- Newsgroups: comp.lang.c++
- Subject: Re: Using multiple functions in one file
- Date: 13 Jan 1996 01:48:00 GMT
- Organization: CompuServe, Inc. (1-800-689-0736)
- Message-ID: <4d730g$lgc$1@mhafc.production.compuserve.com>
- References: <DL00rI.HFr@cunews.carleton.ca>
-
- The reason you get this is because there is no prototype
- for the butler function. Look in your book for how to define
- function prototypes, like this.
-
- void butler(void);
-
- Also, another approach is to move the butler function above
- your main in your source file. This will work but I
- HIGHLY recommend that you learn about function prototypes.
-
- Good Luck!
-